Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODTransform


WriteTo

The WriteTo method writes this transform's matrix to the specified storage unit.

void WriteTo (in ODStorageUnit storageUnit);
storageUnit
A reference to the storage unit where this transform's matrix is to be written.
DISCUSSION
Before calling this method, you must focus the storage unit to the property where the matrix is to be written. This method writes the matrix into the value of type kODTransform in the focused property, replacing any matrix that was previously stored in that value or creating the value if it doesn't already exist.

OVERRIDING
If you subclass ODTransform to create a nonlinear transform class, you must override this method. Your override method can call its inherited method at any point in your implementation (it does not matter where).

EXCEPTIONS
kODErrUnfocusedStorageUnit
This storage unit is not focused on a property or a value.
SEE ALSO
The ODTransform::ReadFrom method (page 780).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help